﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

//importamos
using EventSys.BussinesEntities;
using EventSys.Repository;
using Microsoft.Practices.Unity;

namespace EventSys.BussinesLogic
{
    public class InversionService:IInversionService
    {
        [Dependency]
        public IInversionRepository inversionRepository { get; set; }

        public List<Inversion> GetFromAllInversion()
        {
            return inversionRepository.GetFromAllInversion();
        }

        public Inversion GetInversionById(int id)
        {
            throw new NotImplementedException();
        }

        public void AddInversion(Inversion inversion)//, Int32 idEvento)
        {
            inversionRepository.AddInversion(inversion);//,idEvento);
        }

        public void UpdateInversion(Inversion inversion)
        {
            throw new NotImplementedException();
        }

        public void RemoveInversion(int id)
        {
            throw new NotImplementedException();
        }
    }
}
